package code.android.MiracleWalker.activity;

import code.android.MiracleWalker.R;
import android.app.Activity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;
import android.view.Display;
import android.view.WindowManager;

public class TestActivity extends Activity
{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.test_activity);
		
	     DisplayMetrics dm = new DisplayMetrics();
	     getWindowManager().getDefaultDisplay().getMetrics(dm);
	     
	     Display d = getWindowManager().getDefaultDisplay();
	     
	     int h2= d.getHeight();
	     
	     int h = dm.heightPixels;
	     
	     Log.d("sunjae", String.valueOf(h2));
	}
	
	@Override
	protected void onResume() {
		super.onResume();
	}
}
